Copyright  2016 HID Global Corporation/ASSA ABLOY AB. All rights reserved.

============================================
HID Global Microsoft Cryptography CPP sample
============================================

This sample demonstrates how to use the Microsoft Cryptography API from a CPP Universal Windows Platform (UWP) application to invoke the Smart Card Mini Driver provided with ActivID ActivClient 7.1.
It implements the following scenarios:
-	Populate a certificate list with the certificates retrieved from the user certificate store.
-	Use one of the listed certificates to sign data.

		----------------------------------------------------

1 - Required runtime environment

	- Microsoft Windows 10 or later (32  and 64-bit editions)
	- ActivID ActivClient 7.1

		----------------------------------------------------

2 - Recommended development environment

	- Microsoft Visual Studio 2015

	Headers and import libraries for the PIV DLL are located in the SDK\PIV\C\Headers and SDK\PIV\C\Libraries folders respectively.
		
	Sample sources are located in the SDK\Microsoft Cryptography\Sample folder.

	The CPP sample is provided together with a Visual Studio 2015 solution.
	Simply copy the SDK\Microsoft Cryptography\Sample folder from the ActivClient distribution CD to a hard disk location, and open the Visual Studio solution file.

		----------------------------------------------------

3 - Sample description

	You must be familiar with the Microsoft Cryptography API to use this sample.
	
	This command-line sample relies on ActivClient Smart Card Mini Driver implementation.
	
	It demonstrates the following functions:
Windows::Security::Cryptography::Core::PersistedKeyProvider::OpenKeyPairFromCertificateAsync,
Windows::Security::Cryptography::Core::CryptographicEngine::SignAsync,
Windows::Security::Cryptography::Core::CryptographicEngine::VerifySignature
